import FastClick from './fastclick'

export default (selector = 'body') =>
  Array.from(document.querySelectorAll(selector))
    .forEach(element => FastClick.attach(element))
